package com.yun;

import com.yun.bean.Student;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @Author: fxy
 * @Date: 2022/07/26/10:20
 * @Description:
 */
@Configuration
@ComponentScan("com.yun.config")
public class YunConfig {

	@Bean("student")
	public Student getStudent(){
		return new Student();
	}
}
